package com.qin.mall.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qin.mall.domain.OmsOrderReturnApply;
import com.qin.mall.dto.OmsReturnApplyQueryParam;
import com.qin.mall.dto.OmsUpdateStatusParam;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qin.mall.dto.OmsOrderReturnApplyResult;

import java.util.List;

/**
* @author 覃剑
* @description 针对表【oms_order_return_apply(订单退货申请)】的数据库操作Service
* @createDate 2022-11-10 14:38:13
*/
public interface OmsOrderReturnApplyService extends IService<OmsOrderReturnApply> {

    /**
     * 分页查询申请
     */
    Page<OmsOrderReturnApply> list(OmsReturnApplyQueryParam queryParam, Integer pageNum, Integer pageSize);

    /**
     * 批量删除申请
     */
    int delete(List<Long> ids);

    /**
     * 修改申请状态
     */
    int updateStatus(Long id, OmsUpdateStatusParam statusParam);

    /**
     * 获取指定申请详情
     */
    OmsOrderReturnApplyResult getItem(Long id);
}
